company = {'马云': 2000, '马化腾': 3000, '乔布斯': 4000, '雷军': 5000}

employee = company.keys()  # 获取所有员工姓名
salary = company.values()  # 获取所有员工工资
print(company)

company['刘强东'] = 6000  # 添加新员工
company.setdefault('陈睿', 2800)  # 添加实习生
print(company)

company['陈睿'] = 3500  # 实习生转正
print(company)

company.popitem()  # 开除应届生
company.pop('刘强东')  # 开除工资最高的
print(company)

print(company['马化腾'])  # 检查贪污情况
